from django.urls import path

from Wallpaper.views import index, get_all_category, get_wallpaper, get_data, get_random_wallpaper, search, \
    get_live_wallpaper, get_all_live_category

urlpatterns = [
    path("", index, name="index"),
    path("getData", get_data, name='data'),
    path("categories", get_all_category, name='all_category'),
    path("liveCategories", get_all_live_category, name='all_live_category'),
    path("getWallpaperByCategory", get_wallpaper, name='wallpapers'),
    path("getLiveWallpaperByCategory", get_live_wallpaper, name='wallpapers'),
    path("random", get_random_wallpaper, name='random'),
    path("search", search, name="search"),
]
